﻿using nanhua.BookStore.Entitys.OrderAggregate;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Text;
using Volo.Abp.Application.Dtos;

namespace nanhua.BookStore.Orders
{
    public class OrderDto: EntityDto<Guid>
    {
        public decimal TotalPrice { get; set; }
        /// <summary>
        /// 支付类型
        /// </summary>
        public PayTypeEnum PayType { get; set; }
        /// <summary>
        /// 订单状态
        /// </summary>
        public OrderStatusEnum OrderStatus { get; set; }
        /// <summary>
        /// 支付时间
        /// </summary>
        public DateTime PayTime { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreationTime { get; set; }
        /// <summary>
        /// 订单详情
        /// </summary>
        public Collection<OrderDetailDto> OrderDetails { get; private set; }
    }
}
